﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decorator
{
    internal abstract class Display
    {
        public abstract int GetColumns();
        public abstract int GetRows();
        public abstract string GetRowText(int row);

        public void Show() 
        {
            for (var i = 0; i < this.GetRows(); i++) 
            {
                Console.WriteLine(this.GetRowText(i));
            }
        }
    }
}
